package CreationModel.BuilderPattern;

/**
 * @author 王蕾 [wanglei_dev@cyou-inc.com]
 * @date 2017-12-05 11:18:00
 */
public class PersonDirector {

    public Person constructPerson(PersonBuilder personBuilder){
        personBuilder.buildHeader();
        personBuilder.buildBody();
        personBuilder.buildFoot();
        return personBuilder.bulidPerson();
    }
}


